System and method for interferometer non-linearity compensation

ABSTRACT

A system and method for non-linearity compensating interferometer position data includes receiving a plurality of groups of digital position values. A first group of the digital position values are digitally processed to generate a plurality of data values. The plurality of data values are digitally processed to generate at least one quasi-static non-linearity parameter. A second group of the digital position values are compensated based on the at least one non-linearity parameter.

THE FIELD OF THE INVENTION

[0001] This invention relates generally to interferometer systems. This invention relates more particularly to a system and method for interferometer non-linearity compensation.

BACKGROUND OF THE INVENTION

[0002] Light leakage between beams in an interferometer in metrology produces measurement results that depart periodically from the ideal—known as non-linearity.

[0003] One prior art technique for compensating for non-linearity in a homodyne interferometer involves balancing the two in-phase and quadrature signals within the interferometer for offset, gain and orthogonality. The signals are digitized, computed for imbalance, and analog electronics are used to inject offset and gain compensations. The compensation components are all contained within the interferometer itself. In a heterodyne interferometer, there are no in-phase and quadrature signals to balance. Thus, such a compensation method is not applicable to a heterodyne interferometer.

[0004] It would be desirable to provide a system and method for non-linearity compensation of interferometer position data using digital numerical processing.

SUMMARY OF THE INVENTION

[0005] One form of the present invention provides a method for non-linearity compensating interferometer position data. A plurality of groups of digital position values are received. A first group of the digital position values are digitally processed to generate a plurality of data values. The plurality of data values are digitally processed to generate at least one quasi-static non-linearity parameter. A second group of the digital position values are compensated based on the at least one quasi-static non-linearity parameter.

BRIEF DESCRIPTION OF THE DRAWINGS

[0006]FIG. 1 is an electrical block diagram illustrating a prior art heterodyne displacement measuring interferometer system.

[0007]FIG. 2 is a functional block diagram illustrating one embodiment of a non-linearity compensation system according to the present invention.

[0008]FIG. 3 is a diagram illustrating a position-data word output by the interferometer system of FIG. 1.

[0009]FIG. 4 is an electrical schematic diagram illustrating one embodiment of the position-data processing block shown in FIG. 2.

[0010]FIG. 5A is an electrical schematic diagram illustrating a modulo-320 counter for generating counter signals for controlling the operation of the position-data processing block shown in FIG. 4.

[0011]FIG. 5B is a diagram illustrating control signals for controlling the operation of the position-data processing block shown in FIG. 4.

[0012]FIG. 6 is a diagram of a group of 320 position-data words partitioned into 10 blocks of 32 words each.

[0013]FIG. 7 is an electrical block diagram illustrating one embodiment of the compensation processing block shown in FIG. 2.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] In the following detailed description of the preferred embodiments, reference is made to the accompanying drawings, which form a part hereof, and in which is shown by way of illustration specific embodiments in which the invention may be practiced. It is to be understood that other embodiments may be utilized and structural or logical changes may be made without departing from the scope of the present invention. The following detailed description, therefore, is not to be taken in a limiting sense, and the scope of the present invention is defined by the appended claims.

[0015] I. Displacement Measuring Interferometry System

[0016] The non-linearity compensation system and method of the present invention is discussed in the context of a heterodyne displacement measuring interferometry system. However, the compensation techniques disclosed herein are also applicable to a homodyne interferometry system.

[0017] A typical displacement measuring interferometer system consists of a frequency-stabilized laser light source, interferometer optics and measuring electronics. In metrology based on homodyne interferometry, the phase progression function φ(t) is directly proportional to the object displacement in time, t, usually by the factor λ/4. That is, one unit interval (UI) change represents an object movement of one-quarter of the wavelength of the light wave. One UI represents one light wave interference fringe, or 2π radians. In mixing, phase is preserved, a travel of φ/4 is manifested as one interference fringe. In metrology based on heterodyne interferometry, there are two channels: one Doppler-shifted (Measurement Channel), and the other not shifted (Reference Channel). The difference between the two phase progression functions φ_(M)(t) and φ_(R)(t) of the two channels is proportional to the object displacement to within an arbitrary constant. The phase-progression functions for both channels are monotonically increasing with time.

[0018]FIG. 1 is an electrical block diagram illustrating a prior art heterodyne displacement measuring interferometer system 100. Interferometer system 100 includes laser 102, interferometer 108, measurement and processing electronics 112, and fiber optic pickup 114. Interferometer 108 includes stationary retroreflector 104, polarizing beam splitter (PBS) 106, and movable retroreflector 110.

[0019] Laser 102 generates a pair of collinear, orthogonally-polarized optical beams of equal intensity and of different frequencies F₁ and F₂, which differ in frequency by F_(R), which is a reference frequency (also referred to as a split frequency). The optical beams pass through interferometer 108. Polarization beam splitter 106 reflects one polarization of the incoming light to stationary retroreflector 104, and passes the other polarization of light to movable retroreflector 110. The retroreflectors 104 and 110 return the light to the polarization beam splitter 106, where one beam is transmitted and the other beam is reflected, so that the two beams are again collinear. Linear motion of the movable retroreflector 110 results in a corresponding change in the difference in phase between the two beams. The output beams from interferometer 108 go to fiber optic pick-up 114. In fiber optic pick-up 114, the output beams from interferometer 108 are mixed, and the mixed beam is coupled to an optical fiber 113. The mixed beam is referred to as the measurement signal, and the mixing is represented by the following Equation I:

Measurement signal=

F ₁

F ₂   Equation I

[0020] where:

[0021] {circumflex over (×)} indicates a mixing operation; and

[0022] the overhead line on F₁ indicates that the signal is Doppler-shifted.

[0023] Measurement and processing electronics 112 contain a fiber optic receiver that produces an electrical measurement signal corresponding to the optical measurement signal. The measurement signal has a frequency that is equal to the reference frequency, F_(R), plus the Doppler shift frequency, as shown in the following Equation II:

F _(M) =F _(R) +nν/λ  Equation II

[0024] where:

[0025] ν is the velocity of the interferometer element whose position is being measured (the sign of ν indicates the direction of travel);

[0026] λ is the wavelength of light emitted from laser 102; and

[0027] n equals 2, 4, etc., depending on the number of passes the light makes through interferometer 108. In embodiments of the present invention, n=4.

[0028] In the example system of FIG. 1, the movement of retroreflector 110 produces the Doppler shift and n is equal to 2. Laser 102 also outputs a reference signal at the reference frequency (FR) via a fiber optic cable 111 that goes to a fiber optic receiver in the measurement and processing electronics 112. The reference signal is produced by mixing the two beams from laser 102 (F₁ and F₂), which is represented by the following Equation III:

Reference Signal F ₁ {circumflex over (×)}F ₂   Equation III

[0029] Measurement and processing electronics 112 contain a fiber optic receiver that produces an electrical reference signal corresponding to the optical reference signal. The reference signal has a frequency that is equal to the reference frequency F_(R).

[0030] Measurement and processing electronics 112 measure and accumulate the phase difference between the reference signal and the measurement signal, and process the difference to provide position and velocity outputs.

[0031] II. Non-Linearity

[0032] In less than ideal situations, light leakage between beams from laser 102 occurs, causing a small amount of one frequency to be present in the other frequency. Symbolizing the ideal by a capital letter and leakage by a lower-case letter, the non-ideal situation can be symbolized by the following Equation IV and Equation V:

Measurement Signal: (

₁

+

₂)

(F ₂ +f ₁)  Equation IV

Reference Signal: (F ₁ +f ₂)

(F ₂ +f ₁)   Equation V

[0033] Through mixing, signals of many frequencies are produced. The measurement signal has six mixed components:

[0034] M1:

₁

F₂; M2:

₁

₂; M3: f₁{circumflex over (×)}F₂; M4: f₁

F₁; M5:

₂

₂; M6: f₁{circumflex over (×)}

₂

[0035] The reference signal also has six mixed components:

[0036] R1: F₁{circumflex over (×)}F₂; R2: F₁{circumflex over (×)}f₂; R3: f₁{circumflex over (×)}F₂; R4: f₁{circumflex over (×)}F₁; R5: f₂{circumflex over (×)}F₂; R6: f₁{circumflex over (×)}f₂

[0037] The signals M1 and R1 are the desired measurement and reference signals, respectively, not non-linearity. Typically, M1 and R1 are the dominant components.

[0038] The signals M6 and R6 are each mixing products of two typically small signals, producing only second-order effects. Signals M6 and R6 may be ignored.

[0039] The signals R2, R3, R4, and R5 are static parameters. The signals R2 and R3 have the same frequency as the ideal signal R1, which is the reference or split frequency. The combined effect of R2 and R3 is to cause an inconsequential constant phase shift to the reference signal. Signals R4 and R5 are “steady” signals mixing with themselves, resulting only in a static DC amplitude shift. A “steady” signal is a signal that is not Doppler shifted. In an AC-coupled circuit, R4 and R5 produce no effect, and may be ignored.

[0040] The signals M4 and M5 are a type non-linearity that is observed at high speed of the measurement object away from the light source. The mixing product of M4 has the form shown in the following Equation VI: $\begin{matrix} \left. {\cos \quad 2\quad {{\pi \left( {{F_{1}t} - \frac{p_{1}}{\lambda/4}} \right)} \otimes \cos}\quad 2{\pi \left( {F_{1}t} \right)}}\Rightarrow{\cos \quad 2{\pi \left( \frac{p_{1}}{\lambda/4} \right)}} \right. & \text{Equation~~VI} \end{matrix}$

[0041] where:

[0042] p₁ is a position parameter; and

[0043] λ is the wavelength of light emitted from laser 102

[0044] Similarly, the mixing product of M5 has the form shown in the following Equation VII: $\begin{matrix} \left. {\cos \quad 2{{\pi \left( {{F_{2}t} - \frac{p_{2}}{\lambda/4}} \right)} \otimes \cos}\quad 2{\pi \left( {F_{2}t} \right)}}\Rightarrow{\cos \quad 2{\pi \left( \frac{p_{2}}{\lambda/4} \right)}} \right. & \text{Equation~~VII} \end{matrix}$

[0045] where:

[0046] p₂ is a position parameter; and

[0047] λ is the wavelength of light emitted from laser 102

[0048] The position-parameters p₁ and p₂ may have different origins, but are almost identically scaled due to F₁ being only a few megahertz from F₂ in one embodiment. The temporal frequency of M4 and M5 is the same, and equals the Doppler frequency, f_(Doppler)=f_(R)−f_(M) The M4 and M5 signals perturb the measurement signal, at f_(M)−f_(Doppler), producing non-linearity at the temporal frequency of 2*f_(M)−f_(R). In one embodiment, M4 and M5 type of non-linearity can be seen only when the measurement frequency nears half the reference frequency, which occurs when the object is moving rapidly (e.g., about 0.5 m/sec) within a small range of velocities away from the source. Unfortunately, neither the temporal nor spatial frequency of M4 and M5 type of non-linearity is invariant, making its compensation more complex. In addition to the position-data, the reference frequency is needed.

[0049] One embodiment of the present invention compensates non-linearity caused by the signals M2 and M3. Non-linearity caused by M2 and M3 is most obvious at moderate velocities (e.g., under about 50 mm/sec). M2 and M3 produce a signal at the reference frequency that perturbs the measurement signal, M₁, to cause non-linearity. The temporal frequency of the non-linearity is the Doppler frequency, and therefore the spatial frequency of the non-linearity is invariant (it is always one period in λ/4 of the distance traveled). Non-linearity caused by M2 and M3 is periodic with the position data with a period of 1 UI, or 1 “fringe,” representing λ/4 of the distance traveled. For a HeNe laser, λ is 633 nanometers. The spatial frequency invariance property of M2 and M3 type of non-linearity facilitates compensation.

[0050] The non-linearity perturbation, α(p), (in UI), as a function of position, p, (also in UI), is shown in the following Equation VIII: $\begin{matrix} {{\Delta \quad (p)} = {\left( \frac{1}{2\pi} \right){\arctan \left\lbrack \frac{r\quad {\cos \quad\left\lbrack {2{\pi \left( {p - \theta} \right)}} \right\rbrack}}{1 - {r\quad {\sin \quad\left\lbrack {2{\pi \left( {p - \theta} \right)}} \right\rbrack}}} \right\rbrack}}} & \text{Equation~~VIII} \end{matrix}$

[0051] where:

[0052] r is the ratio of the magnitudes of the combined perturbing M2/M3 signal to that of the ideal signal M1; and

[0053] θ is a phase-offset between the non-linearity pattern and the position data fringe periodicity.

[0054] III. Non-Linearity Compensation

[0055] A. Overview of Compensation System

[0056] In one embodiment of the present invention, the measured position data output by the interferometer system 100 is processed, and two best-fit, quasi-static, non-linearity parameters are produced to compensate data in the near future. Continuing the process indefinitely, all data after an initial latency period are compensated. In one form of the invention, non-linearity magnitude and phase parameters are determined on-the-fly from 320 consecutive position-data words, and are used to compensate the position-data words immediately following. One form of the invention is a completely digital process that continues in “leapfrog” fashion, compensating all future data using the periodically updated non-linearity parameters.

[0057]FIG. 2 is a functional block diagram illustrating one embodiment of a non-linearity compensation system 200 according to the present invention. Non-linearity compensation system 200 includes compensation processing block 206, position data processing block 208, block data processing block 212 and arithmetic logic unit (ALU) 217. Non-linearity compensation system 200 compensates M2 and M3 type of non-linearity in extrapolated position data 202 and observed position data 204 output by interferometer system 100. Extrapolated position data 202 is provided to compensation processing block 206. Observed position data 204 are provided to position data processing block 208 and, after phase offset removal at ALU 217, address compensation processing block 206.

[0058] In one embodiment, the functions performed by non-linearity compensation system 200 are limited to digital numerical computation by hardware, firmware, or a combination, and system 200 includes no optical or analog electrical circuitry. In one form of the invention, compensation system 200 is implemented using field programmable gate arrays (FPGAs) and/or one or more DSP processors.

[0059] Observed position-data 204, represented by p(j), output by interferometer system 100 at a 3.2 microsecond rate, is used by position data processing block 208 and block data processing block 212 to construct non-linearity parameters 214M and 214P (collectively referred to as non-linearity parameters 214). The “j” in p(j) is an index for identifying observed position-data words at a 3.2 microsecond rate. In one embodiment, non-linearity parameters 214 include a non-linearity (NL) magnitude parameter 214M (V_(NL)), and a NL phase parameter 214P (θ_(NL)).

[0060] Non-linearity phase parameter 214P (θ_(NL)) is subtracted from the observed position data 204 before addressing compensation processing block 206 continuously. Non-linearity magnitude parameter 214M (V_(NL)) is fed forward to synthesize the compensation processing block 206 to non-linearity compensate future, incoming data 202 at a higher, lower, or the same rate of 3.2 microseconds. Meanwhile, “future” uncompensated, observed position data 204 is used by position data processing block 208 and block data processing block 212 to generate yet further non-linearity parameters 214 to compensate for yet more future position data. After an initial latency period, all data will be compensated.

[0061] Since the non-linearity parameters 214M and 214P are quasi-static and continually updated, the process acts as a tracking filter, producing appropriate parameters 214 from recent position data 204. In one form of the invention, the compensation performed by compensation processing block 206 is at nanosecond speed.

[0062] In one embodiment, position data processing block 208 detects when unfavorable conditions for accurate measurement occur, and generates an update inhibit signal 216. When an update inhibit signal is generated, block data processing block 212 stops updating non-linearity parameters 214. During this time, position data is compensated by compensation processing block 206 using the existing non-linearity parameters 214. Updating of the non-linearity parameters 214 continues when measurement conditions improve.

[0063]FIG. 3 is a diagram illustrating an observed position-data word 300 output by interferometer system 100. Position-data word 300 includes 32 bits. The most significant 22 bits (W1-22) of word 300 represent travel of multiples of one whole fringe of λ/4. The least significant 10 bits (F1-F10) of word 300 represent the fractional portion of a fringe.

[0064] B. Position Data Processing

[0065]FIG. 4 is an electrical schematic diagram illustrating one embodiment of the position data processing block 208 shown in FIG. 2. Position data processing block 208 includes cosine lookup table 402, sine lookup table 404, arithmetic logic units (ALUs) 406A-406U (collectively referred to as ALUs 406), bit shifter 408, multiplexer 410, bit shifter 412, multiplexer 414, bit shifter 418, multiplexer 420, registers 421, up counter 422, bit shifter 424, accumulator 426, and modulo-320 counter and signal generator 428. In one embodiment, the digital circuits shown in FIG. 4 are clocked synchronously at a 3.2 microsecond rate. The clocking circuit is omitted from FIG. 4 to simplify the illustration of the invention.

[0066] Observed position-data words 300, which are 32 bits wide, arrive at 3.2 microsecond intervals at “word in” terminal 416. In one embodiment, position data processing block 208 processes the received position-data words 300 in groups of 320 words, and generates 21 output data blocks for each set of 320 position-data words 300.

[0067] Modulo-320 counter and signal generator 428 includes modulo-320 counter 500 (shown in FIG. 5A), and logic gates 510, 512, 514, 516 and 517 (shown in FIG. 5B). The processing performed by position data processing block 208 is scheduled by modulo-320 counter 500. Modulo-320 counter 500 comprises a cascade of three counters—modulo-32 counter 502, modulo-2 counter 504, and modulo-5 counter 506. Modulo-32 counter 502 and modulo-2 counter 504 are traditional binary up-counters. Modulo-5 counter 506 counts in a sequence 3-4-5-6-7-3-4- . . . etc.

[0068] The clock-in input (Cin) of modulo-32 counter 502 is coupled to a 3.2 microsecond clock signal. The terminal count (TC) output of modulo-32 counter 502 is coupled to the clock-in input of modulo-2 counter 504. The output (Q) of modulo-32 counter 502 is the 5 least significant bits (Q0-Q4) of the counter 500. The terminal count output of modulo-2 counter 504 is coupled to the clock-in input of modulo-5 counter 506. The output (Q) of modulo-2 counter 504 is the fourth most significant bit (Q5) of counter 500. The output (Q) of modulo-5 counter 506 is the three most significant bits (Q6-Q8) of counter 500.

[0069] A group clock signal is produced every 1024 microseconds at the terminal count of modulo-5 counter 506. The four most significant bits (Q5-Q8) of counter 500, and the most significant two bits (F1 and F2) of the fractional parts of the position-data words 300 are logically combined to generate 10 signals for controlling the 21 ALUs 406 as shown in the following Table I: TABLE I Signal # Name Logical Combination 1. CE.D Q6 + (Q5 ⊕ Q7) 2. SGN.D 1 3. CE.L Q6•Q7 4. SGN.L Q8 5. CE.Q Q6 6. SGN.Q Q7 7. CE.24 F2 8. CE.13 NOT(F2) 9. SGN.24 NOT(F1) 10.  SGN.13 NOT(F1)

[0070] In the above Table I, “+” indicates a logical OR operation, “⊕” indicates a logical EXLUSIVE OR operation, and “” indicates a logical AND operation.

[0071]FIG. 5B is a diagram illustrating the 10 control signals listed in Table I, and the logic gates for generating some of the signals. As shown in FIG. 5B, signal CE.D is generated by performing an EXCLUSIVE-OR operation on counter bits Q5 and Q7 with EXCLUSIVE-OR gate 510, and then performing a logical OR operation with OR gate 512 on counter bit Q6 and the output of EXCLUSIVE-OR gate 510. Signal SGN.D is a constant logical 1. Signal CE.L is generated by performing a logical AND operation on counter bits Q6 and Q7 with AND gate 514. Signal SGN.L is generated from counter bit Q8. Signal CE.Q is generated from counter bit Q6. Signal SGN.Q is generated from counter bit Q7. Signal CE.24 is generated from the second most significant fractional bit, F2, of position-data words 300. Signal CE.13 is generated by inverting with inverter 516 the second most significant fractional bit, F2, of position-data words 300. Signals SGN.24 and SGN.13 are generated from the complement of the most significant fractional bit, F1, of position-data words 300 through inverter 517 creating the complement.

[0072] Of the 10 signals shown in FIG. 5B, the SGN.x signals are coupled to corresponding SGN.x (polarity) inputs of ALUs 406, and the CE.x signals are coupled to corresponding CE.x (clock enable) inputs of ALUs 406, where “x” identifies the particular SGN and CE signals (e.g., D, L, Q, 13, or 24) that are coupled to a particular ALU 406. For example, as shown in FIG. 4, ALU 406A includes clock enable input CE.D, and polarity input SGN.D, indicating that signals CE.D and SGN.D, respectively, are coupled to these inputs of ALU 406A. The connection lines are not shown in FIG. 4 to simplify the illustration of the invention.

[0073] The counter arrangement 500 illustrated in FIG. 5A effectively partitions a group of 320 input words 300 into ten sequential blocks of 32 words each, numbering block 1 through block 10. FIG. 6 is a diagram of a group 600 of 320 position-data words 300, partitioned into 10 blocks 602A-602J (collectively referred to as blocks 602) of 32 words each.

[0074] A CE.x signal, when TRUE, enables corresponding ALUs 406. A SGN.x signal, when TRUE, dictates increment for an enabled ALU 406, and decrement when the signal is FALSE. The CE.x and SGN.x signals affect operation of ALUs 406 as shown in the following Table II: TABLE II ALU's Operation 1. ALUs 406A (CD), 406F (SD), D: increment in blocks 1, 2, and 406K (PD) 4, 5, 6, 7, 9, 10; disabled in blocks 3 and 8. 2. ALUs 406B (CL), 406G (SL), L: decrement in blocks 1, 2; and 406L (PL) disabled in blocks 3, 4, 5, 6, 7, 8; increment in blocks 9, 10. 3. ALUs 406C (CQ), 406H (SQ), Q: increment in blocks 1, 2, 406M (PQ) 9, 10; disabled in blocks 3, 4, 7, 8; decrement by twice the values in blocks 5, 6.

[0075] As shown in the following Table III, regardless of the particular block 602 being processed, the following ALUs 406 operate only on the logical values of the most significant two fractional bits (F1, F2) of position-data words 300: TABLE III ALU's Operation 1. ALUs 406D (C24), 406I (S24), 406N (P24), “24”: 406P (I24), 406R (J24), 406T (K24) increment on (0,1); decrement on (1,1); disabled on (0,0) and (1,0). 2. ALUs 406E (C13), 406J (S13), 406O (P13), “13”: 406Q (I13), 406S (J13), 406U (K13) increment on (0,0); decrement on (1,0); disabled on (0,1) and (1,1).

[0076] Position-data words 300 received on terminal 416, each 32-bits in width, are connected to the inputs of ALUs 406K (PD), 406L (PL), 406N (P24), and 406O (P13), bit shifter 418, and multiplexer 420. A second input (input B) of multiplexer 420 is the position-data word 300 multiplied by 2 through shifting by 1 bit with bit shifter 418. The multiplexed position-data output by multiplexer 420 is connected to ALU 406M (PQ). Multiplexer 420 is steered by the same control bit, SGN.Q, as ALU 406M (PQ). This arrangement results in the value of ALU 406M (PQ) being incremented by the position-data word 300 on TRUE SGN.Q, but decremented by twice the position data-word 300 on FALSE SGN.Q.

[0077] For summation purposes, the width of position-data words 300 can be reduced from 32 bits to 24 bits without penalty by subtracting a constant integer, such as the “whole” part of the last data word 300 from the last group 600, from each of the 320 subsequent position-data words 300.

[0078] The most significant 8 bits (F1-F8) of the fractional part of position-data words 300 received on terminal 416 address two look-up tables—cosine lookup table 402 and sine lookup table 404. Lookup tables 402 and 404 each span one complete period in the 8-bit address space. There are, therefore, 256 entries in each table 402 and 404 of one-period. Each entry in tables 402 and 404 is 10 bits wide.

[0079] The output of cosine table 402 is connected to the inputs of ALUs 406A (CD), 406B (CL), 406D (C24), and 406E (C13), bit shifter 408, and multiplexer 410. A second input (input B) of multiplexer 410 is the output of cosine table 402 multiplied by 2 through shifting by 1 bit with bit shifter 408. The multiplexed position-data output by multiplexer 410 is connected to ALU 406C (CQ). Multiplexer 410 is steered by the same control bit SGN.Q as ALU 406C (CQ). This arrangement results in the value of ALU 406C (CQ) being incremented by the output value of table 402 on TRUE SGN.Q, but decremented by twice the output value of table 402 on FALSE SGN.Q.

[0080] The output of sine table 404 is connected to the inputs of ALUs 406F (SD), 406G (SL), 406I (S24), and 406J (S13), bit shifter 412, and multiplexer 414. A second input (input B) of multiplexer 414 is the output of sine table 404 multiplied by 2 through shifting by 1 bit with bit shifter 412. The multiplexed position-data output by multiplexer 414 is connected to ALU 406H (SQ).

[0081] Multiplexer 414 is steered by the same control bit SGN.Q as ALU 406H (SQ).

[0082] This arrangement results in the value of ALU 406H (SQ) being incremented by the output value of table 404 on TRUE SGN.Q, but decremented by twice the output value of table 404 on FALSE SGN.Q.

[0083] In addition to processing position-data words 300, position data processing block 208 also synthesizes three 320 clock length (1024 microseconds) digital sequences I, J. and K. The digital sequences I, J. and K, are repeated once per group 600 of 320 position data words 300 .

[0084] Sequence I is a constant logical 1, and is connected to the inputs of ALUs 406P (I24) and 406Q (I13). Sequence I is one bit wide. Therefore, ALUs 406P (I24) and 406Q (I13) could be simple counters in an alternative embodiment. Sequence I sums to 2⁸ under Operation D, and zero under operations L and Q.

[0085] Sequence J linearly progresses from −159.5 to +159.5 by +1 per step. Sequence J comprises 9 bits from up-counter 422 concatenated with 1 least significant bit of a constant logical 1. Sequence J is 10 bits wide and connects to the inputs of ALUs 406R (J24) and 406S (J13). Sequence J sums to 214 under Operation L, and zero under operations D and Q.

[0086] Sequence K is quadratic, and numerically equals J²−9,045.25 at each step. Sequence K is 16 bits wide, and is connected to the inputs of ALUs 406T (K24) and 406U (K13). The value 9,045.25 equals (64·127·129 −96·191·193+160·321·319)/(12·128), which ensures that K sums to zero when blocks 1, 2, 4, 5, 6, 7, 9, and 10, are summed. Sequence K is synthesized by loading 16,395 into accumulator 426 at the beginning of a new group 600 of position-data words 300, and accumulating (2·J−1) at each step, which is twice the value of counter 422 alone, that is, without the 1 concatenated least significant bit. J is multiplied by 2 through shifting J by 1 bit with bit shifter 424. Sequence K sums to 2²¹ under Operation Q, and zero under operations D and L.

[0087] The terminal count output of modulo-5 counter 506 generates a group clock signal every 1024 microseconds, which indicates the end of a group 600 of position-data words 300. The group clock signal from modulo-5 counter 506 is coupled to 21 registers 421. Each of the 21 registers 421 is also coupled to the output of one of the 21 ALUs 406. When the group clock signal is received by registers 421, all 21 outputs of the ALUs 406 are latched to the 21 registers 421. ALUs 406 are then reset to zero, and up-counter 422 and accumulator 426 are loaded with values 160 and 16,395, respectively. After being reset, ALUs 406 are once again receptive to new entries.

[0088] C. Generation of Non-Linearity Parameters (Magnitude V_(NL) and Phase θ_(NL))

[0089] The 21 values latched by registers 421 from ALUs 406 are I₂₄, J₂₄, K₂₄, C₂₄, S₂₄, P₂₄, I₁₃, J₁₃, K₁₃, C₁₃, S₁₃, P₁₃, P_(D), P_(L), P_(Q), C_(D), C_(L), C_(Q), S_(D), S_(L), and S_(Q), which are output by ALUs 406P, 406R, 406T, 406D, 406I, 406N, 406Q, 406S, 406U, 406E, 406J, 406O, 406K, 406L, 406M, 406A, 406B, 406C, 406F, 406G, and 406H, respectively. The 21 values are digitally processed by block data processing block 212 to produce the magnitude V_(NL) and phase θ_(NL) of any non-linearity present in the signal using the mathematical procedure shown in the following Equations IX through XIX.

[0090] Six quantities, P₂₄′, C₂₄′, S₂₄′, P₁₃′, C₁₃′, and S₁₃′, are generated as follows: $\begin{matrix} {P_{24}^{\prime} = {P_{24} - \frac{I_{24} \cdot P_{D}}{2^{8}} - \frac{J_{24} \cdot P_{L}}{2^{14}} - \frac{K_{24} \cdot P_{Q}}{2^{21}}}} & \text{Equation~~IX} \\ {C_{24}^{\prime} = {C_{24} - \frac{I_{24} \cdot C_{D}}{2^{8}} - \frac{J_{24} \cdot C_{L}}{2^{14}} - \frac{K_{24} \cdot C_{Q}}{2^{21}}}} & \text{Equation~~X} \\ {S_{24}^{\prime} = {S_{24} - \frac{I_{24} \cdot S_{D}}{2^{8}} - \frac{J_{24} \cdot S_{L}}{2^{14}} - \frac{K_{24} \cdot S_{Q}}{2^{21}}}} & \text{Equation~~XI} \\ {P_{13}^{\prime} = {P_{13} - \frac{I_{13} \cdot P_{D}}{2^{8}} - \frac{J_{13} \cdot P_{L}}{2^{14}} - \frac{K_{13} \cdot P_{Q}}{2^{21}}}} & \text{Equation~~XII} \\ {C_{13}^{\prime} = {C_{13} - \frac{I_{13} \cdot C_{D}}{2^{8}} - \frac{J_{13} \cdot C_{L}}{2^{14}} - \frac{K_{13} \cdot C_{Q}}{2^{21}}}} & \text{Equation~~XIII} \\ {S_{13}^{\prime} = {S_{13} - \frac{I_{13} \cdot S_{D}}{2^{8}} - \frac{J_{13} \cdot S_{L}}{2^{14}} - \frac{K_{13} \cdot S_{Q}}{2^{21}}}} & \text{Equation~~XIV} \end{matrix}$

[0091] From the six quantities calculated in Equations IX through XIV, non-linearity parameters V_(NL) and θ_(NL) are generated as shown in the following Equations XV through XIX:

det=−C ₂₄ ′·S ₁₃ ′·+C ₁₃ ′·S _(24′)  Equation XV

A _(NL) =−S ₁₃ ′P ₂₄ ′+S ₂₄ P _(13′)  Equation XVI

B _(NL) =C ₁₃ ′P ₂₄ ′−C ₂₄ ′P _(13′)  Equation XVII

Non-linearity magnitude V _(NL)=(A _(NL) ² +B _(NL) ²)^(½)/det.   Equation XVIII

Non-linearity phase θ_(NL)=arctangent(B _(NL) /A _(NL))/2π  Equation XIX

[0092] Both the non-linearity magnitude V_(NL) and phase θ_(NL) are expressed in UI, where one UI represents λ/4. The peak position-deviation from ideal is V_(NL) and the location of the periodic pattern is given by the phase θ_(NL).

[0093] In one embodiment, only fixed point computations are performed by compensation system 200, and division operations are limited to powers of 2. In one form of the invention, the process performed by compensation system 200 is implemented with either hardware or firmware, or a combination of hardware and firmware.

[0094] D. Non-Linearity Compensation Using Generated Parameters

[0095] The non-linearity pattern that is a subject of embodiments of the present invention is a result of single-side-band (SSB) modulation and is not a single sinusoid. Specifically, α(p), the phase deviation from ideal as a function of fractional position, p, is given in UI by the following Equation XX: $\begin{matrix} {{\Delta (p)} = {\left( \frac{1}{2\pi} \right){\arctan \left( \frac{r \cdot {\cos \quad\left\lbrack {2{\pi \left( {p - \theta} \right)}} \right\rbrack}}{1 - {r \cdot {\sin \quad\left\lbrack {2{\pi \left( {p - \theta} \right)}} \right\rbrack}}} \right)}}} & \text{Equation~~XX} \end{matrix}$

[0096] where:

[0097] r is the ratio of the perturbing signal magnitude to the ideal signal magnitude; and

[0098] Angle θ is a phase difference between the non-linearity periodicity α(p) and the position (fraction) periodicity p. The block regression process measures the phase offset as θ_(NL).

[0099] For small deviations, α(p) is well approximated by the following Equations XXI through XXIV: $\begin{matrix} {{\Delta \quad p} \approx {\left( \frac{1}{2\pi} \right)\left( \frac{r \cdot {\cos \quad\left\lbrack {2{\pi \left( {p - \theta} \right)}} \right\rbrack}}{1 - {r \cdot {\sin \left\lbrack {2{\pi \left( {p - \theta} \right)}} \right\rbrack}}} \right)}} & \text{Equation~~XXI} \\ {{\Delta \quad p} = \frac{\left( \frac{r}{2\pi} \right) \cdot {\cos \quad\left\lbrack {2{\pi \left( {p - \theta} \right)}} \right\rbrack}}{1 - {2{\pi \cdot \left( \frac{r}{2\pi} \right)}{\sin \quad\left\lbrack {2{\pi \left( {p - \theta} \right)}} \right\rbrack}}}} & \text{Equation~~XXII} \end{matrix}$

α(p)≈V _(NL)·cos2π(p−θ _(NL))·[1+2πV _(NL)sin2π(p−θ _(NL))]  Equation XXIII

αp≈V _(NL)·cos2π(p−θ _(NL))+π·V _(NL) ²sin4π(p−θ _(NL))   Equation XXIV

[0100] The quantity r/27π in Equation XXII is measured as V_(NL), the magnitude, in Equations XXIII and XXIV, and θ in Equation XXII appears as deviation phase, θ_(NL), in Equations XXIII and XXIV. Both quantities, V_(NL) and θ_(NL), are determined in one embodiment using the block regression method described above. The values of V_(NL) and θ_(NL) are estimated accurately using only the cosine term. The sine term, being orthogonal at twice the frequency, need not be involved in the block regression estimation, but plays a part in determining the actual compensation value.

[0101] Even though the non-linearity parameters (magnitude—V_(NL), and phase—θ_(NL)) are derived from measured position-data, p(j), that arrives at a rate of one position-data word 300 every 3.2 microseconds, they may be used to compensate position data at any rate for the next 1024 microseconds.

[0102] The following Equation XXV can be described as the phase deviation αφ(j) at any time step j, as a function of the ideal non-linear phase φ(j):

αφ(j)≈V _(NL)·cos2πφ(j)+π·V _(NL) ² sin4πφ(j)   Equation XXV

[0103] where V_(NL) is a measured value.

[0104] Equation XXV shows the expected non-linearity phase deviation αφ(j) given the ideal phase φ(j). The value θ_(NL) is also a measured value. It is subtracted from the position data words to generate a non-linearity phase progression φ_(NL)(j). In practice, the ideal φ(j) is not available. But φ_(NL)(j) itself is subject to non-linearity perturbation and is different from the ideal φ(j) by an unknown amount αφ(j) as shown in the following Equation XXVI:

φ_(NL) (j)=φ(j)+αφ(j)   Equation XXVI

[0105] The phase deviation αφ_(NL)(j) based on the corrupted argument φ_(NL)(j) is:

αφ_(NL)(j)≈V _(NL)·cos2πφ_(NL)(j)+π·V _(NL) ² sin4πφ_(NL)(j)   Equation XXVII

[0106] This quantity in Equation XXVII, however, is not exactly the compensation needed as it is based on a corrupted argument.

[0107] Assuming changes are piecewise linear near the region between φ_(NL)(j) and φ(j), these two are also related as shown in the following Equation XXVIII:

αφ(j)=αφ_(NL)(j)−α′φ_(NL)·αφ(j)   Equation XXVIII

[0108] The desired deviation αφ(j) can be solved as: $\begin{matrix} {{\Delta \quad {\varphi (j)}} = {\frac{\Delta \quad {\varphi_{NL}(j)}}{1 + {\Delta^{\prime}\varphi_{NL}}} = \frac{\begin{matrix} {{V_{NL} \cdot {\cos \quad\left\lbrack {2\pi \quad {\varphi_{NL}(j)}} \right\rbrack}} +} \\ {{\pi \cdot V_{NL}^{2}}{\sin \left\lbrack {4{{\pi\varphi}_{NL}(j)}} \right\rbrack}} \end{matrix}}{\begin{matrix} {1 - {2\pi \quad {\sin \quad\left\lbrack {2\pi \quad {\varphi_{NL}(j)}} \right\rbrack}} +} \\ {4\pi^{2}{\cos \quad\left\lbrack {4\pi \quad {\varphi_{NL}(j)}} \right\rbrack}} \end{matrix}}}} & \text{Equation~~XXIX} \end{matrix}$

[0109] For small values of V_(NL) (e.g., V_(NL)<<½π), making use of 1/(1−δ)≈1+δ, and dropping all terms involving V_(NL) ³ or higher, αφ(j) may be simplified as shown in the following Equations XXX and XXXI:

αφ(j)≈(V _(NL)·cos[2πφ_(NL)(j)]+π·V _(NL) ²sin[4πφ_(NL)(j)])·(1+2πsin[2πφ_(NL)(j)])   Equation XXX

αφ(φ_(NL))=V _(NL)·cos2πφ_(NL)+2π·V _(NL) ²·sin4πφ_(NL)   Equation XXXI

[0110] Therefore, the desired phase deviation αφ(j) may be constructed from the corrupted phase φ_(NL)(j) quite accurately up to the second harmonics by Equation XXXI.

[0111] In one embodiment, αφ is computed into a single read/write memory table 704 (shown in FIG. 7), having 256 entries spanning one period of the φ_(NL), and addressable by the 8 most significant fractional bits, NLF1-NLF8 of φ_(NL). Each entry in table 704 is 8 bits wide in accordance with equation XXXI.

[0112]FIG. 7 is an electrical block diagram illustrating the compensation processing block 206 shown in FIG. 2. Compensation processing block 206 includes RAM table generator 702, RAM table 704, and ALU 706. In one form of the invention, RAM table 704 includes 256 values for αφ, calculated from Equation XXXI, using fractional φ values that span one period. The various values for αφ in RAM table 704 are represented by αφ(φ_(NL)), where the relationship is as in Equation XXXI. RAM table 704 is generated by RAM table generator 702 based on non-linearity parameter, V_(NL), provided by block data processing block 212. The other non-linearity parameter, θ_(NL), provided by block 212 is subtracted from current observed (fractional) position data words p(j) by ALU 217 to generate the non-linear phase progression φ_(NL)(j). RAM table generator 702 updates the αφ(j) values stored in RAM table 704 each time a new value for V_(NL) is received. As described above, V_(NL) and θ_(NL) are calculated every 1024 microseconds (i.e., every 320 position-data words 300).

[0113] At any given time-index j, the (corrupted) phase φ_(NL)(j) will address the table 704. RAM table 704 is addressable by the 8 bits NLF1-NLF8 of the non-linear phase progression φ_(NL)(j). The αφ values as addressed by the non-linearity phase φ_(NL)(j) at a 3.2 microsecond rate are output by RAM table 704 to ALU 706. The value output by table 704 is precisely the compensation needed at the moment. ALU 706 subtracts the value output by table 704 from the current position-data word to get the compensated data word regardless of the rate of position-data words being compensated. ALU 706 subtracts the αφ values received from RAM table 704 from received position data, including, in one embodiment, measured or observed position data and extrapolated position data.

[0114] The non-linearity progression φ_(NL)(j), which is derived from observed position data by subtracting an offset θ_(NL), determines the non-linearity present at any time, irrespective of the data rate of the uncompensated position data. The mathematical representation of the compensation process for extrapolated position data is shown in the following Equation XXXII:

p _(ideal)(i)=p(i)−V _(NL)·cos2πφ_(NL)(j)−2π·V _(NL) ²·sin4πφ_(NL)(j)   Equation XXXII

[0115] where

[0116] i stands for any data rate; and

[0117] j stands for the observed data rate.

[0118] E. Update Suspension of Non-Linearity Parameters

[0119] In one embodiment, when the average velocity of the object being observed falls below 0.23 mm per second, or within the ranges of ±0.23 mm/sec of multiples of 49.375 mm/sec, the updating of the quasi-static non-linearity parameters θ_(NL) and V_(NL) is suspended. When one of these velocity conditions is present, position data processing block 208 (shown in FIG. 2) sends an update inhibit signal 216 to block data processing block 212, indicating that updating of the non-linearity parameters is to be suspended. In one form of the invention, the test for the absence of the above velocity conditions is: (1) The group 600 of 320 position data words 300 must have at least 8 “quadrant” transitions within 1024 microseconds; and (2) The group 600 of 320 position data words 300 must not dwell on any one quadrant for more than 128 microseconds.

[0120] A “quadrant” is defined by the most significant two bits (F1 and F2) of the fractional part of position data words 300 as shown in the following Table IV: TABLE IV (F1, F2) Name 0, 0 1^(st) quadrant 0, 1 2^(nd) quadrant 1, 0 3^(rd) quadrant 1, 1 4^(th) quadrant

[0121] The non-linearity parameters θ_(NL) and V_(NL) are updated when one or both of the above two tests are satisfied. If neither test is satisfied, updating of the non-linearity parameters is suspended. The non-linearity parameter values calculated prior to suspension are held and used to compensate new position data in an uninterrupted manner. Updating of the non-linearity parameters resumes only when either or both of the above two tests are satisfied.

[0122] In some metrology systems, when the velocity is high, a tracking filter eliminates the perturbing effect of the leakage signal, and there is no significant non-linearity present in the data. One embodiment of the present invention bypasses the compensation process during such high velocity conditions. In one form of the invention, the value of P_(L) from ALU 406L, which is a direct indicator of velocity, is used to deactivate compensation when P_(L) exceeds a threshold value commensurate with the metrology system non-linearity cut-off.

[0123] Embodiments of the present invention are applicable to either homodyne or heterodyne interferometers. In one embodiment, the interferometer itself is not modified in any way. Rather, the resulting measurement data output by the interferometer is processed, and two best-fit quasi-static non-linearity parameters are produced to compensate data in the near future. Continuing the process indefinitely, all data after an initial latency period are compensated. Embodiments of the invention involve only digital numerical computation by hardware, firmware, or a combination. In one form of the invention, no optical or analog electrical circuitry is used. No Fourier transformation or other spectral analysis methods are employed in one embodiment.

[0124] Although specific embodiments have been illustrated and described herein for purposes of description of the preferred embodiment, it will be appreciated by those of ordinary skill in the art that a wide variety of alternate and/or equivalent implementations may be substituted for the specific embodiments shown and described without departing from the scope of the present invention. Those with skill in the chemical, mechanical, electro-mechanical, electrical, and computer arts will readily appreciate that the present invention may be implemented in a very wide variety of embodiments. This application is intended to cover any adaptations or variations of the preferred embodiments discussed herein. Therefore, it is manifestly intended that this invention be limited only by the claims and the equivalents thereof. 

What is claimed is:
 1. A method for non-linearity compensating interferometer position data, the method comprising: receiving a plurality of groups of digital position values; digitally processing a first group of the digital position values to generate a plurality of data values; digitally processing the plurality of data values to generate at least one quasi-static non-linearity parameter; and compensating a second group of the digital position values based on the at least one quasi-static non-linearity parameter.
 2. The method of claim 1, wherein the first group includes only measured digital position values.
 3. The method of claim 1, wherein the second group includes only measured digital position values.
 4. The method of claim 1, wherein the second group includes measured digital position values and extrapolated digital position values.
 5. The method of claim 1, wherein each group of digital position values includes 320 position-data words.
 6. The method of claim 5, wherein the first group is processed in blocks of 32 words each.
 7. The method of claim 6, wherein each position-data word is 32 bits.
 8. The method of claim 1, wherein the at least one quasi-static non-linearity parameter is generated based on a block regression technique.
 9. The method of claim 1, wherein the at least one non-linearity parameter includes a non-linearity magnitude parameter and a non-linearity phase parameter.
 10. The method of claim 1, wherein the temporal frequency of the non-linearity being compensated is the Doppler frequency.
 11. A compensation system for compensating interferometer position data, the system comprising: an input for receiving a plurality of groups of digital position values, each digital position value including a whole number portion and a fractional number portion; a digital position-data processor for digitally processing a first group of the digital position values and generating a plurality of data values; a digital data value processor for processing the plurality of data values and generating at least one non-linearity parameter; and a digital compensator for compensating a second group of the digital position values based on the at least one non-linearity parameter.
 12. The compensation system of claim 11, wherein the digital position-data processor comprises: a cosine look-up table coupled to the input for providing cosine values corresponding to the fractional portion of received digital position values; a sine look-up table coupled to the input for providing sine values corresponding to the fractional portion of received digital position values; a first plurality of arithmetic logic units (ALUs) for arithmetically processing the cosine values and the sine values, each ALU in the first plurality configured to output one of the plurality of data values based on the arithmetic processing; and a second plurality of ALUs coupled to the input for arithmetically processing the digital position values in the first group, each ALU in the second plurality configured to output one of the plurality of data values based on the arithmetic processing.
 13. The compensation system of claim 12, wherein the digital position-data processor further comprises: a plurality of registers coupled to the ALUs in the first and the second pluralities for storing the plurality of data values.
 14. The compensation system of claim 13, wherein the digital position-data processor further comprises: a counter coupled to the plurality of registers, the counter configured to cause the registers to store the plurality of data values at the end of each group of digital position values.
 15. The compensation system of claim 14, wherein the counter is configured to generate signals for controlling operation of the first and the second plurality of ALUs.
 16. The compensation system of claim 12, and further comprising: a digital sequence generator for generating a plurality of digital sequences; and a third plurality of ALUs coupled to the digital sequence generator for arithmetically processing the digital sequences, each ALU in the third plurality configured to output one of the plurality of data values based on the arithmetic processing.
 17. The compensation system of claim 16, wherein the plurality of digital sequences include a constant sequence, a linearly increasing sequence with zero mean, and a quadratic sequence with zero mean, and wherein summation of one of the sequences results in a power-of-2 value, and summation of each of the remaining sequences results in a zero value.
 18. The compensation system of claim 11, wherein each group of digital position values includes 320 position-data words.
 19. The compensation system of claim 17, wherein each position-data word is 32 bits.
 20. The compensation system of claim 11, wherein the at least one non-linearity parameter includes a non-linearity magnitude parameter and a non-linearity phase parameter.
 21. The compensation system of claim 11, wherein the temporal frequency of the non-linearity being compensated is the Doppler frequency.
 22. A displacement measuring interferometer system comprising: a light source for generating at least one light beam; an interferometer for generating an optical measurement signal based on the at least one light beam; a receiver for receiving the optical measurement signal and an optical reference signal, the receiver configured to generate an analog measurement signal based on the optical measurement signal and configured to generate an analog reference signal based on the optical reference signal; a controller for generating a plurality of groups of digital position values based on the analog measurement signal and the analog reference signal; and at least one digital signal processor coupled to the controller for digitally processing each group of the digital position values and generating a plurality of data values for each processed group, the at least one digital signal processor configured to digitally process the plurality of data values for each processed group to generate at least one non-linearity parameter for each processed group, the at least one digital signal processor configured to compensate digital position values based on the generated non-linearity parameters.
 23. The interferometer system of claim 22, wherein each group of digital position values includes 320 position-data words.
 24. The interferometer system of claim 22, wherein the at least one non-linearity parameter includes a non-linearity magnitude parameter and a non-linearity phase parameter.
 25. The interferometer system of claim 22, wherein the temporal frequency of the non-linearity being compensated is the Doppler frequency. 